package io.renren.entity;

import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;

/**
 * ctoc交易表
 * 
 * @author chenshun
 * @email sunlightcs@gmail.com
 * @date 2018-04-14 14:11:21
 */
@TableName("tb_ctoc_transaction")
public class CtocTransactionEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 主键
	 */
	@TableId
	private Long id;
	/**
	 * 订单号
	 */
	private String orderNo;
	/**
	 * 单价
	 */
	private Double coinPrice;
	/**
	 * 总价
	 */
	private Double coinTotalPrice;
	/**
	 * 数量
	 */
	private Integer coinQuantity;
	/**
	 * 买家id
	 */
	private Long buyerMemberId;
	/**
	 * 买家姓名
	 */
	private String buyerRealname;
	/**
	 * 买家手机号
	 */
	private String buyerMobile;
	/**
	 * 买家支付宝
	 */
	private String buyerAlipay;
	/**
	 * 买家支付宝收款码
	 */
	private String buyerAlipayImg;
	/**
	 * 买家微信
	 */
	private String buyerWechat;
	/**
	 * 买家微信收款码
	 */
	private String buyerWechatImg;
	/**
	 * 买家银行名称
	 */
	private String buyerBankName;
	/**
	 * 买家支行名称
	 */
	private String buyerBankNameBranch;
	/**
	 * 买家银行卡号
	 */
	private String buyerBankCardNumber;
	/**
	 * 卖家id
	 */
	private Long sellerMemberId;
	/**
	 * 卖家姓名
	 */
	private String sellerRealname;
	/**
	 * 卖家手机号
	 */
	private String sellerMobile;
	/**
	 * 卖家支付宝
	 */
	private String sellerAlipay;
	/**
	 * 卖家支付宝收款码
	 */
	private String sellerAlipayImg;
	/**
	 * 卖家微信
	 */
	private String sellerWechat;
	/**
	 * 卖家微信收款码
	 */
	private String sellerWechatImg;
	/**
	 * 卖家银行名称
	 */
	private String sellerBankName;
	/**
	 * 卖家支行名称
	 */
	private String sellerBankNameBranch;
	/**
	 * 卖家银行卡号
	 */
	private String sellerBankCardNumber;
	/**
	 * 交易手续费
	 */
	private Double transFee;
	/**
	 * 交易凭证
	 */
	private String transProofImg;
	/**
	 * 交易状态 0:等待买家付款 1:买家已付款 2:卖家已确认 3:取消
	 */
	private Integer status;
	/**
	 * 申诉状态 0:未申诉 1:处理中 2:处理完成
	 */
	private Integer appealStatus;
	/**
	 * 申诉描述
	 */
	private String appealDesc;
	/**
	 * 创建时间
	 */
	private Date createTime;
	/**
	 * 更新时间
	 */
	private Date updateTime;
	/**
	 * 付款时间
	 */
	private Date paymentTime;
	/**
	 * 完成时间
	 */
	private Date finishTime;
	/**
	 * 定时任务标记 0:未扫描 1:已扫描
	 */
	private Integer flag;

	/**
	 * 买家或卖家头像
	 */
	@TableField(exist = false)
	private String headImg;

	/**
	 * 订单倒计时
	 */
	@TableField(exist = false)
	private Long countDown;

	/**
	 * 设置：主键
	 */
	public void setId(Long id) {
		this.id = id;
	}

	/**
	 * 获取：主键
	 */
	public Long getId() {
		return id;
	}

	/**
	 * 设置：订单号
	 */
	public void setOrderNo(String orderNo) {
		this.orderNo = orderNo;
	}

	/**
	 * 获取：订单号
	 */
	public String getOrderNo() {
		return orderNo;
	}

	/**
	 * 设置：单价
	 */
	public void setCoinPrice(Double coinPrice) {
		this.coinPrice = coinPrice;
	}

	/**
	 * 获取：单价
	 */
	public Double getCoinPrice() {
		return coinPrice;
	}

	/**
	 * 设置：总价
	 */
	public void setCoinTotalPrice(Double coinTotalPrice) {
		this.coinTotalPrice = coinTotalPrice;
	}

	/**
	 * 获取：总价
	 */
	public Double getCoinTotalPrice() {
		return coinTotalPrice;
	}

	/**
	 * 设置：数量
	 */
	public void setCoinQuantity(Integer coinQuantity) {
		this.coinQuantity = coinQuantity;
	}

	/**
	 * 获取：数量
	 */
	public Integer getCoinQuantity() {
		return coinQuantity;
	}

	/**
	 * 设置：买家id
	 */
	public void setBuyerMemberId(Long buyerMemberId) {
		this.buyerMemberId = buyerMemberId;
	}

	/**
	 * 获取：买家id
	 */
	public Long getBuyerMemberId() {
		return buyerMemberId;
	}

	/**
	 * 设置：买家姓名
	 */
	public void setBuyerRealname(String buyerRealname) {
		this.buyerRealname = buyerRealname;
	}

	/**
	 * 获取：买家姓名
	 */
	public String getBuyerRealname() {
		return buyerRealname;
	}

	/**
	 * 设置：买家手机号
	 */
	public void setBuyerMobile(String buyerMobile) {
		this.buyerMobile = buyerMobile;
	}

	/**
	 * 获取：买家手机号
	 */
	public String getBuyerMobile() {
		return buyerMobile;
	}

	/**
	 * 设置：买家支付宝
	 */
	public void setBuyerAlipay(String buyerAlipay) {
		this.buyerAlipay = buyerAlipay;
	}

	/**
	 * 获取：买家支付宝
	 */
	public String getBuyerAlipay() {
		return buyerAlipay;
	}

	/**
	 * 设置：买家支付宝收款码
	 */
	public void setBuyerAlipayImg(String buyerAlipayImg) {
		this.buyerAlipayImg = buyerAlipayImg;
	}

	/**
	 * 获取：买家支付宝收款码
	 */
	public String getBuyerAlipayImg() {
		return buyerAlipayImg;
	}

	/**
	 * 设置：买家微信
	 */
	public void setBuyerWechat(String buyerWechat) {
		this.buyerWechat = buyerWechat;
	}

	/**
	 * 获取：买家微信
	 */
	public String getBuyerWechat() {
		return buyerWechat;
	}

	/**
	 * 设置：买家微信收款码
	 */
	public void setBuyerWechatImg(String buyerWechatImg) {
		this.buyerWechatImg = buyerWechatImg;
	}

	/**
	 * 获取：买家微信收款码
	 */
	public String getBuyerWechatImg() {
		return buyerWechatImg;
	}

	/**
	 * 设置：买家银行名称
	 */
	public void setBuyerBankName(String buyerBankName) {
		this.buyerBankName = buyerBankName;
	}

	/**
	 * 获取：买家银行名称
	 */
	public String getBuyerBankName() {
		return buyerBankName;
	}

	/**
	 * 设置：买家支行名称
	 */
	public void setBuyerBankNameBranch(String buyerBankNameBranch) {
		this.buyerBankNameBranch = buyerBankNameBranch;
	}

	/**
	 * 获取：买家支行名称
	 */
	public String getBuyerBankNameBranch() {
		return buyerBankNameBranch;
	}

	/**
	 * 设置：买家银行卡号
	 */
	public void setBuyerBankCardNumber(String buyerBankCardNumber) {
		this.buyerBankCardNumber = buyerBankCardNumber;
	}

	/**
	 * 获取：买家银行卡号
	 */
	public String getBuyerBankCardNumber() {
		return buyerBankCardNumber;
	}

	/**
	 * 设置：卖家id
	 */
	public void setSellerMemberId(Long sellerMemberId) {
		this.sellerMemberId = sellerMemberId;
	}

	/**
	 * 获取：卖家id
	 */
	public Long getSellerMemberId() {
		return sellerMemberId;
	}

	/**
	 * 设置：卖家姓名
	 */
	public void setSellerRealname(String sellerRealname) {
		this.sellerRealname = sellerRealname;
	}

	/**
	 * 获取：卖家姓名
	 */
	public String getSellerRealname() {
		return sellerRealname;
	}

	/**
	 * 设置：卖家手机号
	 */
	public void setSellerMobile(String sellerMobile) {
		this.sellerMobile = sellerMobile;
	}

	/**
	 * 获取：卖家手机号
	 */
	public String getSellerMobile() {
		return sellerMobile;
	}

	/**
	 * 设置：卖家支付宝
	 */
	public void setSellerAlipay(String sellerAlipay) {
		this.sellerAlipay = sellerAlipay;
	}

	/**
	 * 获取：卖家支付宝
	 */
	public String getSellerAlipay() {
		return sellerAlipay;
	}

	/**
	 * 设置：卖家支付宝收款码
	 */
	public void setSellerAlipayImg(String sellerAlipayImg) {
		this.sellerAlipayImg = sellerAlipayImg;
	}

	/**
	 * 获取：卖家支付宝收款码
	 */
	public String getSellerAlipayImg() {
		return sellerAlipayImg;
	}

	/**
	 * 设置：卖家微信
	 */
	public void setSellerWechat(String sellerWechat) {
		this.sellerWechat = sellerWechat;
	}

	/**
	 * 获取：卖家微信
	 */
	public String getSellerWechat() {
		return sellerWechat;
	}

	/**
	 * 设置：卖家微信收款码
	 */
	public void setSellerWechatImg(String sellerWechatImg) {
		this.sellerWechatImg = sellerWechatImg;
	}

	/**
	 * 获取：卖家微信收款码
	 */
	public String getSellerWechatImg() {
		return sellerWechatImg;
	}

	/**
	 * 设置：卖家银行名称
	 */
	public void setSellerBankName(String sellerBankName) {
		this.sellerBankName = sellerBankName;
	}

	/**
	 * 获取：卖家银行名称
	 */
	public String getSellerBankName() {
		return sellerBankName;
	}

	/**
	 * 设置：卖家支行名称
	 */
	public void setSellerBankNameBranch(String sellerBankNameBranch) {
		this.sellerBankNameBranch = sellerBankNameBranch;
	}

	/**
	 * 获取：卖家支行名称
	 */
	public String getSellerBankNameBranch() {
		return sellerBankNameBranch;
	}

	/**
	 * 设置：卖家银行卡号
	 */
	public void setSellerBankCardNumber(String sellerBankCardNumber) {
		this.sellerBankCardNumber = sellerBankCardNumber;
	}

	/**
	 * 获取：卖家银行卡号
	 */
	public String getSellerBankCardNumber() {
		return sellerBankCardNumber;
	}

	/**
	 * 设置：交易手续费
	 */
	public void setTransFee(Double transFee) {
		this.transFee = transFee;
	}

	/**
	 * 获取：交易手续费
	 */
	public Double getTransFee() {
		return transFee;
	}

	/**
	 * 设置：交易凭证
	 */
	public void setTransProofImg(String transProofImg) {
		this.transProofImg = transProofImg;
	}

	/**
	 * 获取：交易凭证
	 */
	public String getTransProofImg() {
		return transProofImg;
	}

	/**
	 * 设置：交易状态 0:等待买家付款 1:买家已付款 2:卖家已确认 3:取消
	 */
	public void setStatus(Integer status) {
		this.status = status;
	}

	/**
	 * 获取：交易状态 0:等待买家付款 1:买家已付款 2:卖家已确认 3:取消
	 */
	public Integer getStatus() {
		return status;
	}

	/**
	 * 设置：申诉状态 0:未申诉 1:处理中 2:处理完成
	 */
	public void setAppealStatus(Integer appealStatus) {
		this.appealStatus = appealStatus;
	}

	/**
	 * 获取：申诉状态 0:未申诉 1:处理中 2:处理完成
	 */
	public Integer getAppealStatus() {
		return appealStatus;
	}

	/**
	 * 设置：申诉描述
	 */
	public void setAppealDesc(String appealDesc) {
		this.appealDesc = appealDesc;
	}

	/**
	 * 获取：申诉描述
	 */
	public String getAppealDesc() {
		return appealDesc;
	}

	/**
	 * 设置：创建时间
	 */
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	/**
	 * 获取：创建时间
	 */
	public Date getCreateTime() {
		return createTime;
	}

	/**
	 * 设置：更新时间
	 */
	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	/**
	 * 获取：更新时间
	 */
	public Date getUpdateTime() {
		return updateTime;
	}

	/**
	 * 设置：付款时间
	 */
	public void setPaymentTime(Date paymentTime) {
		this.paymentTime = paymentTime;
	}

	/**
	 * 获取：付款时间
	 */
	public Date getPaymentTime() {
		return paymentTime;
	}

	/**
	 * 设置：完成时间
	 */
	public void setFinishTime(Date finishTime) {
		this.finishTime = finishTime;
	}

	/**
	 * 获取：完成时间
	 */
	public Date getFinishTime() {
		return finishTime;
	}

	/**
	 * 设置：定时任务标记 0:未扫描 1:已扫描
	 */
	public void setFlag(Integer flag) {
		this.flag = flag;
	}

	/**
	 * 获取：定时任务标记 0:未扫描 1:已扫描
	 */
	public Integer getFlag() {
		return flag;
	}

	public String getHeadImg() {
		return headImg;
	}

	public void setHeadImg(String headImg) {
		this.headImg = headImg;
	}

	public Long getCountDown() {
		return countDown;
	}

	public void setCountDown(Long countDown) {
		this.countDown = countDown;
	}
}
